﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

namespace Admin.NET.Application;

/// <summary>
/// 人员信息输出参数
/// </summary>
public class EmployeeOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 项目
    /// </summary>
    public long ProjectId { get; set; } 
    
    /// <summary>
    /// 项目 描述
    /// </summary>
    public string ProjectIdName { get; set; } 
    
    /// <summary>
    /// 住建ID
    /// </summary>
    public string? ZjEmpID { get; set; }
    
    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }
    
    /// <summary>
    /// 身份证号
    /// </summary>
    public string? IdNum { get; set; }
    
    /// <summary>
    /// 年龄
    /// </summary>
    public int Age { get; set; }
    
    /// <summary>
    /// 性别
    /// </summary>
    public GenderEnum Sex { get; set; }
    
    /// <summary>
    /// 民族
    /// </summary>
    public string? Nation { get; set; }
    
    /// <summary>
    /// 生日
    /// </summary>
    public string? Birthday { get; set; }
    
    /// <summary>
    /// 住址
    /// </summary>
    public string? Address { get; set; }
    
    /// <summary>
    /// 户籍
    /// </summary>
    public string? Native { get; set; }
    
    /// <summary>
    /// 电话
    /// </summary>
    public string? Phone { get; set; }
    
    /// <summary>
    /// 注册人脸
    /// </summary>
    public string? Facephoto { get; set; }
    
    /// <summary>
    /// 工种
    /// </summary>
    public string? WorkType { get; set; }
    
    /// <summary>
    /// 工作组
    /// </summary>
    public string? WorkGroup { get; set; }
    
    /// <summary>
    /// 紧急联系人
    /// </summary>
    public string? EmerPeople { get; set; }
    
    /// <summary>
    /// 紧急联系人电话
    /// </summary>
    public string? EmerPhone { get; set; }
    
    /// <summary>
    /// 文化程度
    /// </summary>
    public string? Culture { get; set; }
    
    /// <summary>
    /// 健康状况
    /// </summary>
    public string? Health { get; set; }
    
    /// <summary>
    /// 签发机关（长度20个字符）
    /// </summary>
    public string? QianFaJiGuan { get; set; }
    
    /// <summary>
    /// 身份证正面照
    /// </summary>
    public string? IDcard_A { get; set; }
    
    /// <summary>
    /// 身份证反面照
    /// </summary>
    public string? IDcard_B { get; set; }
    
    /// <summary>
    /// 身份证起始日期
    /// </summary>
    public string? QiXianQiShi { get; set; }
    
    /// <summary>
    /// 身份证失效日期
    /// </summary>
    public string? QiXianShiXiao { get; set; }
    
    /// <summary>
    /// 银行名称
    /// </summary>
    public string? BankName { get; set; }
    
    /// <summary>
    /// 银行账号
    /// </summary>
    public string? BankAccount { get; set; }
    
    /// <summary>
    /// 是否自动审核
    /// </summary>
    public bool IsAutoAudit { get; set; }
    
    /// <summary>
    /// 是否允许移动打卡
    /// </summary>
    public bool IsMobile { get; set; }
    
    /// <summary>
    /// 移动端登录账号
    /// </summary>
    public string? MobileAccount { get; set; }
    
    /// <summary>
    /// 移动端登录密码
    /// </summary>
    public string? MobilePassword { get; set; }
    
    /// <summary>
    /// 注册人脸长度
    /// </summary>
    public int PicLen { get; set; }
    
    /// <summary>
    /// 租户Id
    /// </summary>
    public long? TenantId { get; set; }
    
    /// <summary>
    /// 创建者部门Id
    /// </summary>
    public long? CreateOrgId { get; set; }
    
    /// <summary>
    /// 创建者部门名称
    /// </summary>
    public string? CreateOrgName { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }

    /// <summary>
    /// 是否同步到设备
    /// </summary>
    public bool IsSendClient { get; set; } 

    /// <summary>
    /// 同步人员到设备错误信息
    /// </summary>
    public string SendClientErr { get; set; } 
}
 

